home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / blckade.exe / BLKPROTO.H < prev    next >
C/C++ Source or Header  |  1992-03-18  |  915b  |  41 lines

  1.  
  2. #ifndef Blk_Protos_Loaded
  3. #define Blk_Protos_Loaded
  4.  
  5. /* -------- blkade.c -------- */
  6.  
  7. int calc_crc_file( const char *filename, long offset,
  8.     size_t bufsize,long *crcptr, struct novblk *x);
  9. int blockade( const char *filename, size_t bufsize);
  10. long blk_fsize( FILE *);
  11.  
  12. /* ------ chkblk.c  ------ */
  13.  
  14. unsigned long chkblk(char *buffer, int size, unsigned long init);
  15. void * blk_user_pointer( int *size );
  16.  
  17. /* ------ blkade1.c  ------ */
  18.  
  19. char *get_blk_err_msg( int );
  20.  
  21. /* ------ blkade2.c  ------ */
  22.  
  23. unsigned long chksum8( char *, int , unsigned long);
  24.  
  25. /* ------ blkade3.c  ------ */ 
  26.  
  27. unsigned long chksum32( char *, int , unsigned long);
  28.  
  29. /* ------ blkade4.c  ------ */ 
  30.  
  31. unsigned long crc32(char *buffer, int size, unsigned long init);
  32. int showcrc( long crc);
  33.  
  34. /* ------ show_nov.c ------ */ 
  35.  
  36. void show_nov( struct novblk *);
  37.  
  38. /* ------    end     ------ */
  39. #endif
  40.  
  41.